
<!doctype html>
<html class="no-js" lang="">

<head>
  <title>放假时间</title>
  <link href="./assets/icons/icon.png" rel="shortcut icon" type="image/vnd.microsoft.icon">
  <meta charset="utf-8">
</head>

<style>
  h1 {
    text-align: center;
    border-radius: 20px;
    width: 450px;
    height: 450px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
</style>

<body>
  <script>
var string=`距离广东省陆丰市放假`;
string = string.replace(/\r\n/g,"<h1>")
string = string.replace(/\n/g,"<h1>");
document.write(string);
</script>
  <h1 id="time">a</h1>
</body>
<script>
  function show(){
    var time = new Date();
    var date1 = time.getTime();
    var date2 = "2021/01/29 16:00:00";
    var date3 = new Date(date2).getTime() - date1;
    var days=Math.floor(date3/(24*3600*1000));
    var leave1=date3%(24*3600*1000);
    var hours=Math.floor(leave1/(3600*1000));
    var leave2=leave1%(3600*1000);
    var minutes=Math.floor(leave2/(60*1000));
    var leave3=leave2%(60*1000);
    var seconds=Math.round(leave3/1000);
    document.getElementById("time").innerHTML="还有: "+days+"天 "+hours+"小时 "+minutes+"分钟 "+seconds+"秒";
    setTimeout(show,1000);
  }
  show()
</script>
</html>



<iframe src="//player.bilibili.com/player.html?aid=669469683&bvid=BV13a4y1E7ew&cid=229948459&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>